home *** CD-ROM | disk | FTP | other *** search
- OPEN "AddressFile" FOR APPEND AS 1
-
- Entry:
- PRINT
- INPUT "Name";Nam$
- INPUT "Address";Address$
- INPUT "City";City$
- INPUT "Phone";Phone$
- PRINT#1,Nam$
- PRINT#1,Address$
- PRINT#1,City$
- PRINT#1,Phone$
- x=x+1
- PRINT "Record"x" ("Nam$") stored."
- PRINT "Add more records?"
- INPUT "Y/N:";Ans$
- IF UCASE$(Ans$)="Y" THEN Entry
-
- CLOSE
- PRINT "File closed. Program ended."
-
-